package tmall.domain.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import tmall.common.mapper.BaseMapper;
import tmall.domain.entity.Goods;

@Mapper
@Component
public interface GoodsMapper extends BaseMapper<Goods> {
    int deleteByPrimaryKey(Long id);

    int insertSelective(Goods record);

    Goods selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Goods record);

    int updateByPrimaryKey(Goods record);
}